
#ifndef AWS_IOT_SUBPUB_H
#define AWS_IOT_SUBPUB_H

extern MQTTSubAckStatus_t globalSubAckStatus;

void SubscribeLoop(MQTTContext_t *pMqttContext);
void updateSubAckStatus(MQTTPacketInfo_t *pPacketInfo);
void handleIncomingPublish(MQTTPublishInfo_t *pPublishInfo, uint16_t packetIdentifier);

#endif
